package org.sn.jdish.interview.dmall.payment.impl;

import org.sn.jdish.interview.dmall.payment.IpaymentStrategy;

public class WeixinPaymentStrategy implements IpaymentStrategy {

	private static WeixinPaymentStrategy weixinPaymentStrategy;

	private WeixinPaymentStrategy() {

	}

	public static WeixinPaymentStrategy getInstance() {
		if (null == weixinPaymentStrategy) {
			weixinPaymentStrategy = new WeixinPaymentStrategy();
		}
		return weixinPaymentStrategy;
	}

	@Override
	public boolean pay(int userId, int fee) {
		System.out.println("WeixinPayment");
		return false;
	}

}
